body {
    margin: 0;
}

.head {
    position: sticky;
    top: 0px;
    z-index: 1000;
    height: 100px;
    width: 100%;
    align-items: center;
    /* 垂直居中 */
    justify-content: space-between;
    /* 项之间的间距 */
    background-color: rgb(255, 255, 255);
    min-width: 1600px;
    /*最小宽度*/
    transition: all 0.3s ease;
}

.head.scrolled {
    height: 80px;
}

.head-center {
    display: flex;
    width: 100%;
    /* 占满整个头部的宽度 */
    max-width: 1800px;
    /* 最大宽度限制 */
    margin: 0 auto;
    /* 水平居中 */
    background-color: rgb(255, 255, 255);
}

a {
    color: black;
    text-decoration: none;
    font-size: 20px;
}

a:link,
a:visited {
    color: rgb(0, 0, 0);
}

a:hover {
    color: rgb(197, 0, 0);
}

a:active {
    color: black;
    text-decoration: none;
}

.head2 {
    /*display: flex; 是CSS（层叠样式表）中的一个属性值，用于设置一个
    容器元素（通常是块级元素）使用Flexbox布局模型来布局其子元素*/
    display: flex;
    width: 1800px;
    margin-left: 80px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.head2 img {
    transition: all 0.3s ease;
    width: 100%;
}

.head2.scrolled img {
    width: 80%;
}

.head-txt a {
    transition: all 0.3s ease;
}

.head.scrolled .head-txt a {
    font-size: 20px;
}

.head3 {
    width: 1000px;
    display: flex;
    align-items: center;
    /* 垂直居中 */
    justify-content: space-between;
    /* 项之间的间距 */
    padding-left: 80px;
}

.head-txt {
    font-size: large;
    margin: 0 25px;
    /* 为每个文本添加左右间距 */
}

.head-phone {
    width: 200px;
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
}

.head-phone:hover {
    cursor: default;
}

.phone {
    padding-left: 40px;
    width: 30px;
    height: 30px;
    object-fit: cover;
    display: block;
    /* 添加最大尺寸限制 */
    max-width: 30px;
    max-height: 30px;
    /* 确保图片不会溢出容器 */
    overflow: hidden;
}

.head-txt-num {
    color: red;
    margin: 0 10px;
}

.bottom {
    width: 100%;
    height: 500px;
    background-color: rgb(30, 26, 35);
    align-items: center;
    /* 垂直居中 */
    justify-content: space-between;
    /* 项之间的间距 */
    min-width: 1600px;
    /*最小边距*/
}

.bottom-center {
    display: flex;
    width: 100%;
    /* 占满整个头部的宽度 */
    max-width: 1800px;
    /* 最大宽度限制 */
    margin: 0 auto;
    /* 水平居中 */
}

.bottom-center2 {
    width: 100%;
}

.bottom-conten:hover {
    cursor: default;
}

.bottom-txt {
    color: red;
    padding-left: 100px;
    padding-top: 20px;
}

.bottom-txt2 {
    color: rgb(255, 255, 255);
    padding-left: 100px;
}

.bottom-hr {
    border: none;
    width: 100%;
    height: 2px;
    background-color: rgb(62, 62, 62);
}

.bottom-content2 {
    padding-left: 100px;
    padding-top: 20px;
}

.bottom-wechat {
    display: flex;
    padding-left: 35px;
    padding-top: 4px;
}

.bottom-img {
    width: 50px;
    width: 50px;
    object-fit: cover;
}

.wechat-txt {
    padding-left: 20px;
    font-size: large;
    color: rgb(127, 127, 127);
}

.wechat-txt:hover {
    cursor: default;
}

.flex {
    display: flex;
}

.bottom-content3 {
    display: flex;
}

.bottom-content3:hover {
    cursor: default;
}

.bottom-hr2 {
    border: none;
    display: flex;
    padding-left: 80px;
    padding-top: 0px;
    height: 160px;
    border-right: 2px solid rgb(62, 62, 62);
}

.bottom-txt3 {
    color: rgb(161, 161, 161);
    font-size: larger;
    margin-top: 0px;
    padding-left: 80px;
}

.bottom-txt3:hover {
    cursor: default;
}

.bottom-txt4:hover {
    cursor: default;
}

.bottom-txt4 {
    color: rgb(161, 161, 161);
    font-size: large;
    padding-left: 80px;
}

.bottom-txt5 {
    font-size: xx-large;
    color: rgb(180, 180, 180);
    padding-left: 80px;
    padding-top: 10px;
}

.bottom-txt5:hover {
    cursor: default;
}

.bottom2 {
    padding-top: 10px;
}

.bottom-button {
    width: 130px;
    height: 50px;
    background-color: red;
    color: white;
    font-size: large;
    border-radius: 40px;
    margin: 0 auto;
    /* 这会使按钮在父容器中居中 */
    text-align: center;
    /* 水平居中文字 */
    display: flex;
    /* 使用Flexbox布局 */
    justify-content: center;
    /* 使文字在Flexbox容器中水平居中 */
    align-items: center;
    /* 使文字在Flexbox容器中垂直居中 */
}

.bottom-button:hover {
    cursor: pointer;
}

.bottom-img2 {
    width: 30px;
    width: 30px;
    object-fit: cover;
    padding-left: 80px;
    padding-top: 5px
}

.bottom-txt6 {
    color: rgb(161, 161, 161);
    font-size: large;
    padding-top: 5px;
    padding-left: 5px;
}

.locate {
    width: 1600px;
}

.ad-container {
    position: fixed;
    top: 300px;
    right: 0;
    z-index: 1001;
}

.ad {
    background-color: rgb(32, 160, 245);
    width: 180px;
    height: 408px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.right,
.left {
    position: absolute;
    /* 改为absolute定位 */
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 1010;
    transition: background-color 0.3s ease;
    display: none;
    /* 默认隐藏两个箭头 */
}

.left {
    right: 0;
    /* 左箭头显示位置 */
}

.ad-img1 {
    padding-top: 10px;
    padding-left: 10px;
    width: 50px;
    height: 50px;
    object-fit: cover;
    /* 添加transform属性用于滑动动画 */
    transform: translateX(0);
}

.ad-bk {
    margin-left: 10px;
    background-color: white;
    width: 160px;
    height: 328px;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.ad-txt {
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding-top: 3px;
}

.ad-img2 {
    width: 30px;
    height: 30px;
    object-fit: cover;
    padding-left: 10px;
    padding-top: 10px;
}

.ad-txt2 {
    color: black;
    font-size: 18px;
    padding-left: 10px;
    padding-top: 10px;
    margin-top: 0px;
}

.ad-img3 {
    padding-left: 10px;
    width: 130px;
    display: block;
    /*设置为块元素*/
}

.ad-txt4 {
    margin-top: 10px;
    font-size: 18px;
    padding-left: 12px;
    margin-top: 5px;
}

.ad.hidden {
    transform: translateX(180px);
    /* 向右移动广告宽度 */
}

.back-top {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 100px;
    right: 0px;
    z-index: 1011;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    /* 添加弹性布局使图片居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* 初始状态设置为透明 */
    visibility: hidden;
    /* 初始状态隐藏 */
    transition: all 0.3s ease;
    /* 修改transition包含所有属性 */
}

.back-top:hover {
    cursor: pointer;
    /* 改为手指样式 */
    background-color: rgba(120, 120, 120, 0.852);
    /* 添加灰色背景 */
}

.back-img {
    width: 40px;
    height: 40px;
    display: block;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}


/* 新部分 */

.yincangtiao {
    background-color: rgb(206, 205, 205);
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    position: fixed;
    z-index: 1000;
}

.xiantiao {
    width: 100%;
    height: 5px;
    background-color: red;
}

.tu1 {
    width: 200px;
    height: 170px;
    background-color: rgb(206, 205, 205);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.tu1 img:hover+p {
    color: red;
    /* 当图片被悬停时，改变相邻的文字颜色 */
}

.tu2 {
    width: 200px;
    height: 170px;
    background-color: rgb(206, 205, 205);
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.tu2 img:hover+p {
    color: red;
    /* 当图片被悬停时，改变相邻的文字颜色 */
}

.tu1 img {
    width: 200px;
    height: 120px;
}

.tu2 img {
    width: 200px;
    height: 120px;
}

.tu1 p {
    font-weight: 540;
    cursor: default;
}

.tu2 p {
    font-weight: 540;
    cursor: default;
}
.top-navigation {
    border-top: 4px solid red;
    width: 160px;
    height: auto;
    z-index: 1200;
    position: fixed;  /* 改为absolute */
    display: none;      /* 初始状态隐藏 */
    background-color: white;
    border-radius: 5px;
    padding: 10px 0; /* 添加上下内边距 */
}

/* 建议添加导航文字样式 */
.nav-txt {
    padding-left: 10px; /* 调整间距 */
    padding-top: 10px;
    padding-bottom: 10px; /* 添加底部间距 */
    cursor: pointer;     /* 添加鼠标手型 */
    font-size: 18px;
}
.nav-{
    padding-left: 10px;
    color: rgba(202, 202, 202, 0.733);
}